﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;

namespace TiendaMVC3_EF.Models
{
    [Table("Producto")]
    public class Producto
    {
        [Key]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
        public long id { get; set; }

        public string marca { get; set; }
        public string nombre { get; set; }
        public string precio { get; set; }
        public string stock { get; set; }
        public string descripcion { get; set; }
        public string foto { get; set; }

        public string categoria { get; set; }


    }
}